
package com.yao.club.reposittory;

import com.yao.club.entity.dto.SignLog;
import com.yao.club.entity.dto.UserPoint;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;

@Repository
public interface SignLogRepository extends JpaRepository<SignLog, Integer> {

    SignLog findByUserIdAndSignDate(Long userId, LocalDate today);
}
